package top.rushpeak.edu03.websocket.result;

import java.io.Serializable;

public class MsgResult<T> implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String msgType = "";
	private String message = "";
	private String code = "";
	private T data;
	public String getMsgType() {
		return msgType;
	}
	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "MsgResult [msgType=" + msgType + ", message=" + message + ", code=" + code + ", data=" + data + "]";
	}

	

}
